import { createApp } from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
// 导入管理 Vant 组件的的函数
import getVant from '@/plugins/index.js'

const app = createApp(App)
app.use(store)
app.use(router).mount('#app')

// 调用函数 getVant，传入 app 参数，管理 Vant 组件
getVant(app)
